<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>星际网咖预约系统</title>
    <meta name="description" content="星际网咖专属预约系统 - 随时随地，轻松预约">
    <meta name="keywords" content="网咖,预约,游戏,座位">
    <meta name="theme-color" content="#007AFF">
    <link rel="icon" href="/static/icons/favicon.ico">
    <script>
        var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
        document.write('<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0' + (coverSupport ? ',viewport-fit=cover' : '') + '" />')
    </script>
    <style>
        html, body {
            margin: 0;
            padding: 0;
            height: 100%;
            background: linear-gradient(135deg, #007AFF, #5AC8FA);
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

        #app {
            height: 100%;
        }

        .uni-loading {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 9999;
            text-align: center;
            color: white;
        }

        .loading-logo {
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 36px;
            margin: 0 auto 20px;
            animation: pulse 2s infinite;
        }

        .loading-text {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 8px;
        }

        .loading-subtitle {
            font-size: 14px;
            opacity: 0.8;
            margin-bottom: 30px;
        }

        .uni-loading-icon {
            width: 40px;
            height: 40px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-top: 3px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        /* 响应式设计 */
        @media (max-width: 375px) {
            .loading-logo {
                width: 60px;
                height: 60px;
                border-radius: 30px;
                font-size: 28px;
            }

            .loading-text {
                font-size: 20px;
            }
        }
    </style>
</head>
<body>
    <div id="app">
        <div class="uni-loading">
            <div class="loading-logo">🎮</div>
            <div class="loading-text">星际网咖</div>
            <div class="loading-subtitle">正在启动预约系统...</div>
            <div class="uni-loading-icon"></div>
        </div>
    </div>
    <script type="module" src="/main.js"></script>
</body>
</html>